﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000015 RID: 21
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class AcceptExpeditionScRsp : IMessage<AcceptExpeditionScRsp>, IMessage, IEquatable<AcceptExpeditionScRsp>, IDeepCloneable<AcceptExpeditionScRsp>, IBufferMessage
	{
		// Token: 0x17000034 RID: 52
		// (get) Token: 0x060000C9 RID: 201 RVA: 0x00003D11 File Offset: 0x00001F11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<AcceptExpeditionScRsp> Parser
		{
			get
			{
				return AcceptExpeditionScRsp._parser;
			}
		}

		// Token: 0x17000035 RID: 53
		// (get) Token: 0x060000CA RID: 202 RVA: 0x00003D18 File Offset: 0x00001F18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return AcceptExpeditionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000036 RID: 54
		// (get) Token: 0x060000CB RID: 203 RVA: 0x00003D2A File Offset: 0x00001F2A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return AcceptExpeditionScRsp.Descriptor;
			}
		}

		// Token: 0x060000CC RID: 204 RVA: 0x00003D31 File Offset: 0x00001F31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionScRsp()
		{
		}

		// Token: 0x060000CD RID: 205 RVA: 0x00003D3C File Offset: 0x00001F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionScRsp(AcceptExpeditionScRsp other) : this()
		{
			this.fUNCUNLOCKIDEXPEDITION_ = ((other.fUNCUNLOCKIDEXPEDITION_ != null) ? other.fUNCUNLOCKIDEXPEDITION_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060000CE RID: 206 RVA: 0x00003D88 File Offset: 0x00001F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AcceptExpeditionScRsp Clone()
		{
			return new AcceptExpeditionScRsp(this);
		}

		// Token: 0x17000037 RID: 55
		// (get) Token: 0x060000CF RID: 207 RVA: 0x00003D90 File Offset: 0x00001F90
		// (set) Token: 0x060000D0 RID: 208 RVA: 0x00003D98 File Offset: 0x00001F98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OJGLGPGDEPN FUNCUNLOCKIDEXPEDITION
		{
			get
			{
				return this.fUNCUNLOCKIDEXPEDITION_;
			}
			set
			{
				this.fUNCUNLOCKIDEXPEDITION_ = value;
			}
		}

		// Token: 0x17000038 RID: 56
		// (get) Token: 0x060000D1 RID: 209 RVA: 0x00003DA1 File Offset: 0x00001FA1
		// (set) Token: 0x060000D2 RID: 210 RVA: 0x00003DA9 File Offset: 0x00001FA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060000D3 RID: 211 RVA: 0x00003DB2 File Offset: 0x00001FB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as AcceptExpeditionScRsp);
		}

		// Token: 0x060000D4 RID: 212 RVA: 0x00003DC0 File Offset: 0x00001FC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(AcceptExpeditionScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.FUNCUNLOCKIDEXPEDITION, other.FUNCUNLOCKIDEXPEDITION) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060000D5 RID: 213 RVA: 0x00003E10 File Offset: 0x00002010
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				num ^= this.FUNCUNLOCKIDEXPEDITION.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060000D6 RID: 214 RVA: 0x00003E65 File Offset: 0x00002065
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060000D7 RID: 215 RVA: 0x00003E6D File Offset: 0x0000206D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060000D8 RID: 216 RVA: 0x00003E78 File Offset: 0x00002078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.FUNCUNLOCKIDEXPEDITION);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060000D9 RID: 217 RVA: 0x00003ED4 File Offset: 0x000020D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.FUNCUNLOCKIDEXPEDITION);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060000DA RID: 218 RVA: 0x00003F2C File Offset: 0x0000212C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(AcceptExpeditionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.fUNCUNLOCKIDEXPEDITION_ != null)
			{
				if (this.fUNCUNLOCKIDEXPEDITION_ == null)
				{
					this.FUNCUNLOCKIDEXPEDITION = new OJGLGPGDEPN();
				}
				this.FUNCUNLOCKIDEXPEDITION.MergeFrom(other.FUNCUNLOCKIDEXPEDITION);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060000DB RID: 219 RVA: 0x00003F94 File Offset: 0x00002194
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060000DC RID: 220 RVA: 0x00003FA0 File Offset: 0x000021A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.fUNCUNLOCKIDEXPEDITION_ == null)
						{
							this.FUNCUNLOCKIDEXPEDITION = new OJGLGPGDEPN();
						}
						input.ReadMessage(this.FUNCUNLOCKIDEXPEDITION);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400003A RID: 58
		private static readonly MessageParser<AcceptExpeditionScRsp> _parser = new MessageParser<AcceptExpeditionScRsp>(() => new AcceptExpeditionScRsp());

		// Token: 0x0400003B RID: 59
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400003C RID: 60
		public const int FUNCUNLOCKIDEXPEDITIONFieldNumber = 14;

		// Token: 0x0400003D RID: 61
		private OJGLGPGDEPN fUNCUNLOCKIDEXPEDITION_;

		// Token: 0x0400003E RID: 62
		public const int RetcodeFieldNumber = 4;

		// Token: 0x0400003F RID: 63
		private uint retcode_;
	}
}
